﻿<Window x:Class="SdbS.View_Guest.GuestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:SdbS.View_Guest"
        mc:Ignorable="d"
        Title="SdbS - Гость" 
        Icon="/Images/SomeIcons/guest_icon.ico"
        WindowStartupLocation="CenterScreen"
        Height="450"
        ResizeMode="NoResize"
        Width="800">

    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Grid Grid.Row="0">

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Button Grid.Column="0"
                    Content="Назад"
                    Margin="5"
                    Name="buttonBack"
                    BorderBrush="#FF4CB034"
                    BorderThickness="2"
                    Background="#FFEFF5F7"
                    Click="buttonBack_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" 
                            Value="5"/>
                    </Style>

                </Button.Resources>
            </Button>

            <Button Grid.Column="1"
                    Content="Станки"
                    Margin="5"
                    FontSize="15" 
                    Name="buttonOpenMachines"
                    BorderBrush="#FF4CB034"
                    BorderThickness="2"
                    Background="#FFEFF5F7"
                    Click="buttonOpenMachines_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" 
                            Value="5"/>
                    </Style>

                </Button.Resources>
            </Button>

            <Button Grid.Column="2"
                    Content="Типы станков"
                    Margin="5"
                    Name="buttonOpenTypes"
                    FontSize="15" 
                    BorderBrush="#FF4CB034"
                    BorderThickness="2"
                    Background="#FFEFF5F7"
                    Click="buttonOpenTypes_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" 
                            Value="5"/>
                    </Style>

                </Button.Resources>
            </Button>

        </Grid>

        <Grid Grid.Row="1">

            <Image Source="/Images/MainMenu/logo.png"
               Width="80"
               Height="80"/>

            <Frame Name="MainGuest"
                   NavigationUIVisibility="Hidden"/>

        </Grid>

    </Grid>
</Window>
